package com.scriptback.dto.script;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ScriptUpdateRequestDTO {


    private String script_id;


    private String script_name;


    private String script_description;

    private String script_code;
    // 验证 ID 一致性
    public boolean validateId(String pathId) {
        return script_id != null && script_id.equals(pathId);
    }
}
